package com.haixin.security.service;

import com.haixin.security.bean.Permission;

import java.util.List;

public interface PermissionService {
    void addPermission(Permission permission);
    void updatePermission(Permission permission);
    void deletePermission(int id);
    Permission getPermissionById(int id);
    List<Permission> getAllPermissions();
}

